#ifndef CSTMTREEVIEWDELEGATE_H
#define CSTMTREEVIEWDELEGATE_H

#include <QStyledItemDelegate>

class CstmTreeViewDelegate : public QStyledItemDelegate
{

Q_OBJECT
public:

    CstmTreeViewDelegate(
        QObject *parent = 0);

    ~CstmTreeViewDelegate ();

protected:

    virtual void
    paint(
        QPainter *painter,
        const QStyleOptionViewItem &option,
        const QModelIndex &index) const;
    virtual QSize
    sizeHint(
        const QStyleOptionViewItem &option,
        const QModelIndex &index) const;

};
#endif // CSTMTREEVIEWDELEGATE_H
